const express = require('express');
const { url } = require('inspector');
const app = express();
const path = require('path');
app.post('/testPost',(req,res)=>{
    req.post(url('./static/denglu.html'));
})
// app.get('/get',(req,res)=>{
//     res.send('./static/shouye.html');
// })
app.use(express.static('static'));
app.listen(5050,err=>{
    if(!err) console.log('服务器启动成功');
    else console.log(err);
})